import requests
import json
#
# url= 'https://api-test.lefull.cn/vip//api/v1/template/deleteTemplates'
# date={
#     'vipCardTemplateIds': '2ee8731b5d1e691c55b3209eaba27b30',
# }
# headers = {"Content-Type": "application/json","keys":"testApi0001002"}
#
# res = requests.post(url=url,params=date,headers=headers)
# print(res.json())
#



url= 'https://api-test.lefull.cn/vip//api/v1/template/findTemplateBenefits'
date={
        'vipCardTemplateId': '',
        'tenantId':'',
        'tenantPhone':'',
        'tenantName': '',
        'apartmentId': '',
        'apartmentName': '',
        'saleEmployeeId': '',
        'saleEmployeeName': '',
        'startTime': '',
        'endTime': '',
        'cityName': ''
        }
headers = {"Content-Type": "application/json","keys":"testApi0001002"}

res = requests.get(url=url,params=date,headers=headers)
print(res.json())


url= 'https://api-test.lefull.cn/vip//api/v1/apartment/findOnlineStatus'
date={
        'apartmentId':'475'
}
headers = {"Content-Type": "application/json","keys":"testApi0001002"}

res = requests.get(url=url,params=date,headers=headers)
print(res.json())


